const arr =['a','b','c','d']

arr.forEach((item,index,array)=>{
    if(item == 'c'){
        return 
    }
    console.log(item);
})
